package com.itcc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

//@Configuration
public class WebMvcFileDownloadConfig implements WebMvcConfigurer {

    /*@Bean
    public ContentNegotiationConfigurer contentNegotiationConfigurer() {
        return new ContentNegotiationConfigurer() {
            @Override
            public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
                // 可以在这里设置内容协商相关的配置，如根据请求头确定返回的数据格式等
                // 对于文件下载，暂时不涉及内容协商，只是示例配置
            }
        };
    }*/
}
